package com.ruoyi.project.distribute.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 药品信息对象 hos_drug
 * 
 * @author ruoyi
 * @date 2021-03-20
 */
public class HosDrug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品ID */
    private Long drugId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品编码 */
    @Excel(name = "药品编码")
    private String drugCode;

    /** 生产厂家ID */
    @Excel(name = "生产厂家ID")
    private Long companyId;

    /** 药品类型 */
    @Excel(name = "药品类型")
    private String drugType;

    /** 处方类型 */
    @Excel(name = "处方类型")
    private String drugPrestype;

    /** 单位 */
    @Excel(name = "单位")
    private String drugUnit;

    /** 价格 */
    @Excel(name = "价格")
    private String drugPrice;

    /** 库存 */
    @Excel(name = "库存")
    private String drugRepository;

    /** 预警 */
    @Excel(name = "预警")
    private String drugWarn;

    /** 换算量 */
    @Excel(name = "换算量")
    private String drugNum;

    /** 规格 */
    @Excel(name = "规格")
    private String drugSpe;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 生产厂家信息 */
    @Excel(name = "生产厂家信息")
    private HosCompany hosCompany;

    public String getDrugSpe()
    {
        return drugSpe;
    }

    public void setDrugSpe(String drugSpe)
    {
        this.drugSpe = drugSpe;
    }

    public HosCompany getHosCompany()
    {
        return hosCompany;
    }

    public void setHosCompany(HosCompany hosCompany)
    {
        this.hosCompany = hosCompany;
    }

    public void setDrugId(Long drugId)
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setDrugCode(String drugCode) 
    {
        this.drugCode = drugCode;
    }

    public String getDrugCode() 
    {
        return drugCode;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setDrugType(String drugType) 
    {
        this.drugType = drugType;
    }

    public String getDrugType() 
    {
        return drugType;
    }
    public void setDrugPrestype(String drugPrestype) 
    {
        this.drugPrestype = drugPrestype;
    }

    public String getDrugPrestype() 
    {
        return drugPrestype;
    }
    public void setDrugUnit(String drugUnit) 
    {
        this.drugUnit = drugUnit;
    }

    public String getDrugUnit() 
    {
        return drugUnit;
    }
    public void setDrugPrice(String drugPrice) 
    {
        this.drugPrice = drugPrice;
    }

    public String getDrugPrice() 
    {
        return drugPrice;
    }
    public void setDrugRepository(String drugRepository) 
    {
        this.drugRepository = drugRepository;
    }

    public String getDrugRepository() 
    {
        return drugRepository;
    }
    public void setDrugWarn(String drugWarn) 
    {
        this.drugWarn = drugWarn;
    }

    public String getDrugWarn() 
    {
        return drugWarn;
    }
    public void setDrugNum(String drugNum) 
    {
        this.drugNum = drugNum;
    }

    public String getDrugNum() 
    {
        return drugNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString()
    {
        return "HosDrug{" + "drugId=" + drugId + ", drugName='" + drugName + '\'' + ", drugCode='" + drugCode + '\''
                + ", companyId=" + companyId + ", drugType='" + drugType + '\'' + ", drugPrestype='" + drugPrestype
                + '\'' + ", drugUnit='" + drugUnit + '\'' + ", drugPrice='" + drugPrice + '\'' + ", drugRepository='"
                + drugRepository + '\'' + ", drugWarn='" + drugWarn + '\'' + ", drugNum='" + drugNum + '\''
                + ", status='" + status + '\'' + ", hosCompany=" + hosCompany + '}';
    }
}
